package com.ck.model.company.dto;

import com.ck.model.common.Scene;

import java.util.List;

/**
 * 节目DTO
 *
 * @author linqiang
 * @date 2018-07-09 15:39
 */
public class CpProgramDTO {
    /**
     * 节目ID
     */
    private Long programId;
    /**
     * 使用的模板ID
     */
    private Long programTemplateId;

    /**
     * 前端需要的json(包含场景scenes，canvasWidth，canvasHeight，screenWidth，screenHeight，putinStartTime，putinEndTime)
     */
    private String json;


    private Long jsonId;
    /**
     * 节目名称
     */
    private String programName;
    /**
     * 场景集合
     */
    private List<Scene> scenes;

    /**
     * 节目投放设置
     */
    private CpProgramPutinDTO servingInfo;
    /**
     * 添加状态（0待上传素材，1待投放设置，2待发布），默认0
     * 编辑节目时，状态为0则显示到上传素材页面,状态为1则显示到投放设置页面，状态为2则显示到预览发布页面
     */
    private Integer addStatus;
    /**
     * 不通过原因
     */
    private String noPassReason;

    /**
     * 模板类型（0默认模板，1预置模板，2用户模板）
     */
    private Integer programTemplateType;

    /**
     * 节目编辑页上一步地址
     */
    private String backUrl;

    /**
     * 节目编辑页下一步地址
     */
    private String nextUrl;
    /**
     * 节目状态(0：已审批，1：待审批，2：待发布，3：已过期)
     */
    private Integer programStatus;

    /**
     * 商家logo图标地址
     */
    private String companyLogoUrl;

    public Long getProgramId() {
        return programId;
    }

    public void setProgramId(Long programId) {
        this.programId = programId;
    }

    public Long getProgramTemplateId() {
        return programTemplateId;
    }

    public void setProgramTemplateId(Long programTemplateId) {
        this.programTemplateId = programTemplateId;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }

    public Long getJsonId() {
        return jsonId;
    }

    public void setJsonId(Long jsonId) {
        this.jsonId = jsonId;
    }

    public String getProgramName() {
        return programName;
    }

    public void setProgramName(String programName) {
        this.programName = programName;
    }

    public List<Scene> getScenes() {
        return scenes;
    }

    public void setScenes(List<Scene> scenes) {
        this.scenes = scenes;
    }

    public CpProgramPutinDTO getServingInfo() {
        return servingInfo;
    }

    public void setServingInfo(CpProgramPutinDTO servingInfo) {
        this.servingInfo = servingInfo;
    }

    public Integer getAddStatus() {
        return addStatus;
    }

    public void setAddStatus(Integer addStatus) {
        this.addStatus = addStatus;
    }

    public String getNoPassReason() {
        return noPassReason;
    }

    public void setNoPassReason(String noPassReason) {
        this.noPassReason = noPassReason;
    }

    public Integer getProgramTemplateType() {
        return programTemplateType;
    }

    public void setProgramTemplateType(Integer programTemplateType) {
        this.programTemplateType = programTemplateType;
    }

    public String getBackUrl() {
        return backUrl;
    }

    public void setBackUrl(String backUrl) {
        this.backUrl = backUrl;
    }

    public String getNextUrl() {
        return nextUrl;
    }

    public void setNextUrl(String nextUrl) {
        this.nextUrl = nextUrl;
    }

    public Integer getProgramStatus() {
        return programStatus;
    }

    public void setProgramStatus(Integer programStatus) {
        this.programStatus = programStatus;
    }

    public String getCompanyLogoUrl() {
        return companyLogoUrl;
    }

    public void setCompanyLogoUrl(String companyLogoUrl) {
        this.companyLogoUrl = companyLogoUrl;
    }

    @Override
    public String toString() {
        return "CpProgramDTO{" +
                "programId=" + programId +
                ", programTemplateId=" + programTemplateId +
                ", json='" + json + '\'' +
                ", jsonId=" + jsonId +
                ", programName='" + programName + '\'' +
                ", scenes=" + scenes +
                ", servingInfo=" + servingInfo +
                ", addStatus=" + addStatus +
                ", noPassReason='" + noPassReason + '\'' +
                ", programTemplateType=" + programTemplateType +
                ", backUrl='" + backUrl + '\'' +
                ", nextUrl='" + nextUrl + '\'' +
                ", programStatus=" + programStatus +
                ", companyLogoUrl='" + companyLogoUrl + '\'' +
                '}';
    }
}
